﻿
Ext.define("Module", {
    extend: "Ext.data.Model",
    fields: [
        "Id"
        , "Name"
        , { name: "Index", type: "int" }
        , { name: "Type", type: "int" }
        , { name: "MLevel", type: "int" }
        , "ParentID"
        , "Image"
    ]
})

//模块
Ext.define("SHApp.Menu.ComboBox", {
    extend: "BLBTSystem.CmbData",
    alias: "widget.menucombobox",
    dataUrl:"api/cmbmodule?format=json",
    name: "ModuleList",
    model: "Module",
    valueField: "Id",
    displayField: "Name"
})